<template>
   <div>
    <h2>Home组件内容</h2>
    <div>
      <ul class="nav nav-tabs">
        <li>
          <!-- <a class="list-group-item" href="./home-news.html">News</a> -->
          <router-link to="/home/news" class="list-group-item" active-class="active">News</router-link>
        </li>
        <li>
          <!-- <a class="list-group-item active" href="./home-message.html">Message</a> -->
          <router-link to="/home/message" class="list-group-item" active-class="active">Message</router-link>

        </li>
      </ul>
          <router-view></router-view>

    </div>
  </div>
            
</template>

<script>
export default {
    name:'Home'
}
</script>

<style>

</style>